//#include "widget.h"
#include <QApplication>
#include "drawer.h"
#include "mydialog.h"


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Drawer drawer;

     MyDialog dialog;
     char returnValue = dialog.exec();
     if(returnValue==QDialog::Accepted){
         drawer.resize(250,400);
         drawer.show();
         return a.exec();
     }
     else return 0;


}
